
import 'package:dingtalk/core/values/values.dart';
import 'package:flutter/material.dart';

class THDrawerUserInfoView extends StatelessWidget {
  const THDrawerUserInfoView({
    Key key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Row(
      mainAxisAlignment: MainAxisAlignment.center,
      crossAxisAlignment: CrossAxisAlignment.center,
      children: <Widget>[
        Expanded(
            child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: <Widget>[
            Text(
              "江景",
              style: TextStyle(fontSize: kSize40, fontWeight: FontWeight.bold),
            ),
            Padding(
              padding: EdgeInsets.only(top: kSize10),
              child: Text(
                "您所提出的问题，争取满意百分之百。",
                style: TextStyle(fontSize: kSize30, color: kColor33),
                overflow: TextOverflow.ellipsis,
              ),
            ),
            Padding(
              padding: EdgeInsets.symmetric(vertical: kSize20),
              child: Image.asset(
                'assets/images/icon_org_auth_advance.png',
                width: kSize140,
                fit: BoxFit.cover,
              ),
            ),
          ],
        )),
        GestureDetector(
          child: CircleAvatar(
            backgroundColor: kPrimaryColor,
            radius: kSize40,
            child: Text(
              "江景",
              style: TextStyle(color: Colors.white),
            ),
          ),
          onTap: () {},
        )
      ],
    );
  }
}
